package com.dongchedi.utils.page;
/**
        * @author leibidong
        * @description 用户封装分页请求参数，做分页处理
 * @date 2021/6/25
        */
public class PageRequest {
    /**
     * 当前页码
     */
    private int pageNum;
    /**
     * 每页数量
     */
    private int pageSize;
    public PageRequest(int num,int size){
        this.pageNum=num;
        this.pageSize=size;
    }
    public int getPageNum() {
        return pageNum;
    }
    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }
    public int getPageSize() {
        return pageSize;
    }
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
